package band.wukong.practice.redis.jedis;

/**
 * @author wukong(wukonggg@139.com)
 */
public class RedisConf {

    public static final String HOST = "host";
    public static final String PORT = "port";
    public static final String PASSWD = "passwd";
    public static final String CLUSTER_HOSTANDIP = "cluster.hostAndIp";


    private String host;
    private int port;
    private String passwd;
    private String clusterHostAndIp;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public String getClusterHostAndIp() {
        return clusterHostAndIp;
    }

    public void setClusterHostAndIp(String clusterHostAndIp) {
        this.clusterHostAndIp = clusterHostAndIp;
    }

    @Override
    public String toString() {
        return "RedisConf{" +
                "host='" + host + '\'' +
                ", port=" + port +
                ", passwd='" + passwd + '\'' +
                ", clusterHostAndIp='" + clusterHostAndIp + '\'' +
                '}';
    }
}
